package com.liang.subject.domain.service;

import com.liang.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

public interface SubjectCategoryDomainService {
    /**
     * 新增题目大类
     */
    void save(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询题目大类
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询二级分类
     */
    List<SubjectCategoryBO> queryCategoryByPrimary(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新题目大类
     */
    Boolean updateCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除题目大类
     */
    Boolean delete(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询题目大类和标签
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}
